﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Interop.Outlook;

namespace SNAIL.Classes
{
    public class MailMessage
    {
        private MailItem _MessageObject;

        public MailItem MessageObject
        {
            get { return _MessageObject; }
            set { _MessageObject = value; }
        }

        public override string ToString()
        {
            return _MessageObject.Subject;
        }

        public MailMessage(MailItem MessageObject, Direction direction)
        {
            this._direction = direction;
            this._MessageObject = MessageObject;
        }

        private Direction _direction;

        public Direction Direction
        {
            get { return _direction; }
            set { _direction = value; }
        }

    }
}
